package com.jcfy.project.module.domain;

import java.math.BigDecimal;
import com.jcfy.framework.aspectj.lang.annotation.Excel;
import com.jcfy.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 团长(自提点)对象 t_team
 *
 * @author jiangfeng
 * @date 2020-08-05
 */
public class TTeam extends BaseEntity {
    private static final long serialVersionUID=1L;

    /** 主键id */
    private Long teamId;

    /** 用户id(对应 t_users 表主键) */
    @Excel(name = "用户id(对应 t_users 表主键)" )
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名" )
    private String name;

    /** 性别 */
    @Excel(name = "性别" )
    private Integer sex;

    /** 年龄 */
    @Excel(name = "年龄" )
    private Integer age;

    /** 手机号 */
    @Excel(name = "手机号" )
    private String mobile;

    /** 所在城市 */
    @Excel(name = "所在城市" )
    private String city;

    /** 微信号 */
    @Excel(name = "微信号" )
    private String wechatNumber;

    /** 生活状态 */
    @Excel(name = "生活状态" )
    private String lifeState;

    /** 小区 */
    @Excel(name = "小区" )
    private String residentialQuarters;

    /** 小区户数 */
    @Excel(name = "小区户数" )
    private Integer households;

    /** 小区人数 */
    @Excel(name = "小区人数" )
    private Integer peopleNum;

    /** 自提点名称 */
    @Excel(name = "自提点名称" )
    private String teamName;

    /** 提货地址 */
    @Excel(name = "提货地址" )
    private String address;

    /** 联系人 */
    @Excel(name = "联系人" )
    private String contacts;

    /** 经度 */
    @Excel(name = "经度" )
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度" )
    private BigDecimal latitude;

    /** 状态 */
    @Excel(name = "状态" )
    private Integer status;

    private Double distance;

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public Long getTeamId() {
        return teamId;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }
    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getSex() {
        return sex;
    }
    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getAge() {
        return age;
    }
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMobile() {
        return mobile;
    }
    public void setCity(String city) {
        this.city = city;
    }

    public String getCity() {
        return city;
    }
    public void setWechatNumber(String wechatNumber) {
        this.wechatNumber = wechatNumber;
    }

    public String getWechatNumber() {
        return wechatNumber;
    }
    public void setLifeState(String lifeState) {
        this.lifeState = lifeState;
    }

    public String getLifeState() {
        return lifeState;
    }
    public void setResidentialQuarters(String residentialQuarters) {
        this.residentialQuarters = residentialQuarters;
    }

    public String getResidentialQuarters() {
        return residentialQuarters;
    }
    public void setHouseholds(Integer households) {
        this.households = households;
    }

    public Integer getHouseholds() {
        return households;
    }
    public void setPeopleNum(Integer peopleNum) {
        this.peopleNum = peopleNum;
    }

    public Integer getPeopleNum() {
        return peopleNum;
    }
    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public String getTeamName() {
        return teamName;
    }
    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }
    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getContacts() {
        return contacts;
    }
    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teamId" ,getTeamId())
            .append("userId" ,getUserId())
            .append("name" ,getName())
            .append("sex" ,getSex())
            .append("age" ,getAge())
            .append("mobile" ,getMobile())
            .append("city" ,getCity())
            .append("wechatNumber" ,getWechatNumber())
            .append("lifeState" ,getLifeState())
            .append("residentialQuarters" ,getResidentialQuarters())
            .append("households" ,getHouseholds())
            .append("peopleNum" ,getPeopleNum())
            .append("teamName" ,getTeamName())
            .append("address" ,getAddress())
            .append("contacts" ,getContacts())
            .append("longitude" ,getLongitude())
            .append("latitude" ,getLatitude())
            .append("createTime" ,getCreateTime())
            .append("updateTime" ,getUpdateTime())
            .append("status" ,getStatus())
            .toString();
    }
}
